package com.gdcn.zb.sys.dao.impl;

import java.util.List;
import com.gdcn.zb.base.BaseDao;
import com.gdcn.zb.base.exception.DaoException;
import com.gdcn.zb.sys.dao.IFundTypeDao;
import com.gdcn.zb.sys.valueobject.FundType;

public class FundTypeDaoHibernate extends BaseDao implements IFundTypeDao{

	public void createFundType(FundType fundType) throws DaoException {
		super.doCreateObject(fundType);
		
	}

	public void deleteFundType(FundType fundType) throws DaoException {
		super.doDeleteObject(fundType);
		
	}

	public void deleteFundType(String id) throws DaoException {
		super.doDeleteObject(id);
	}

	public FundType findFundTypeById(String id) throws DaoException {
		return (FundType)super.doFindObjectById(id);
	}

	public List listFundTypeOfAll() throws DaoException {
		return doListAllObject();
	}


	public void updateFundType(FundType fundType) throws DaoException {
		super.doUpdateObject(fundType);
		
	}

	protected Class getModelClass() {
		return FundType.class;
	}

}
